#!/usr/bin/env python
# -*- coding: utf-8 -*-

def f1():
    name = "Eric"
    def f2():
        name = "Snor"
        print(name)
    print name
    f2()
    print name
f1()